// 引入mockjs
import Mock from 'mockjs'

// 使用import或是require引入进来的json文件
import bannerList from './bannerList.json'
import floorsList from './floors.json'

// 配置mock服务器
Mock.mock('/mock/bannerList',{code:200,data:bannerList})
Mock.mock('/mock/floorsList',{code:200,data:floorsList})